package com.hp.snap.gr.exception;

public class RESTfulException extends ActionException {

    int statusCode;

    public RESTfulException() {
    }

    public RESTfulException(int statusCode, String message) {
        super(message);
        this.statusCode = statusCode;
    }

    public RESTfulException(int statusCode, String message, Throwable cause) {
        super(message, cause);
        this.statusCode = statusCode;
    }

    public RESTfulException(int statusCode, Throwable cause) {
        super(cause);
        this.statusCode = statusCode;
    }

    public RESTfulException(String message, Exception e) {
        super(message, e);
    }

    public int getStatusCode() {
        return statusCode;
    }


}
